var mongoose = require('mongoose')

var schema = require('../config/schema')
var edetailSchema = mongoose.Schema(schema.edetail)

// vacationSchema.methods.getDisplayPrice = function(){

//     return '$' + (this.priceInCents/100).toFixed(2);
// }

var edetailModel = mongoose.model('edetail', edetailSchema)

module.exports = edetailModel;
